package pl.com.mol.eatool.model.eamodel;

import pl.com.mol.eatool.model.eamodel.eatype.EAComplexType;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * Created by mol1 on 28.06.14.
 */
public class EAInterfaceOperation {

    /**
     * Operation parameters.
     */
    private Map<String, EAAttribute> parameters = new HashMap<>();

    /**
     * Operation return types
     */
    private Map<String, EAAttribute> returnTypes = new HashMap<>();

    private Set<EAComplexType> headers = new HashSet<>();

    private Set<EAComplexType> faults = new HashSet<>();


    public Map<String, EAAttribute> getParameters() {
        return parameters;
    }

    public void setParameters(Map<String, EAAttribute> parameters) {
        this.parameters = parameters;
    }

    public Map<String, EAAttribute> getReturnTypes() {
        return returnTypes;
    }

    public void setReturnTypes(Map<String, EAAttribute> returnTypes) {
        this.returnTypes = returnTypes;
    }

    public Set<EAComplexType> getHeaders() {
        return headers;
    }

    public void setHeaders(Set<EAComplexType> headers) {
        this.headers = headers;
    }

    public Set<EAComplexType> getFaults() {
        return faults;
    }

    public void setFaults(Set<EAComplexType> faults) {
        this.faults = faults;
    }
}
